﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <title>LoginMvc: LoginMvc.fsmcpp File Reference</title>
    <link href="/Content/Help.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/tabs.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="header">
        <img id="logo" alt="StateForge" src="/Content/Images/StateForgeLogo.png" />
        <div id="title">
            <h1>
                Examples using state machines generated by StateBuilderCpp
            </h1>
            <h3>
                LoginMvc: LoginMvc.fsmcpp File Reference
            </h3>
        </div>
        <div id="menucontainer">
            <ul id="menu">
                <li><a href="/">Home</a></li>
                <li><a href="/Home/Download">Downloads</a></li>
                <li><a href="/Help/state-machine-tools.aspx">Help</a></li>
                <li><a href="/Home/Faq">F.A.Q</a></li>
                <li><a href="/Home/About">Contact us</a></li>
            </ul>
        </div>
    </div>
<!-- Generated by Doxygen 1.7.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">LoginMvc.fsmcpp File Reference</div>  </div>
</div>
<div class="contents">

<p><a href="_login_mvc_8fsmcpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&lt;?xmlversion=&quot;1.0&quot;encoding=&quot;UTF-8&quot;?&gt;<br class="typebreak"/>
&lt; sm:StateMachinexmlns:sm=&quot;http:xmlns:xsi=&quot;http:xsi:schemaLocation=&quot;http:http:<br class="typebreak"/>
&lt;!--Generalsettings--&gt;<br class="typebreak"/>
&lt;settingsasynchronous=&quot;true&quot;library=&quot;qt&quot;&gt;<br class="typebreak"/>
&lt;description&gt; Login Model View <br class="typebreak"/>
Controller&lt;/description&gt;<br class="typebreak"/>
&lt;objectinstance=&quot;loginMvc&quot;class=&quot;LoginMvc&quot;include=&quot;LoginMvc.h&quot;/&gt;<br class="typebreak"/>
&lt;objectinstance=&quot;view&quot;class=&quot;MyView&quot;include=&quot;LoginMvc.h&quot;/&gt;<br class="typebreak"/>
&lt;/settings&gt;&lt;!--Events--&gt;<br class="typebreak"/>
&lt;events&gt;&lt;eventSourcename=&quot;Management&quot;&gt;<br class="typebreak"/>
&lt;eventid=&quot;evStart&quot;/&gt;&lt;eventid=&quot;evStop&quot;/&gt;<br class="typebreak"/>
&lt;/eventSource&gt;&lt;eventSourcename=&quot;View&quot;&gt;<br class="typebreak"/>
&lt;eventid=&quot;evIntentLogin&quot;/&gt;<br class="typebreak"/>
&lt;eventid=&quot;evCancelLogin&quot;/&gt;<br class="typebreak"/>
&lt;eventid=&quot;evIntentContinue&quot;/&gt;<br class="typebreak"/>
&lt;eventid=&quot;evIntentLogout&quot;/&gt;<br class="typebreak"/>
&lt;/eventSource&gt;&lt;eventSourcename=&quot;Model&quot;&gt;<br class="typebreak"/>
&lt;eventid=&quot;evLoginComplete&quot;&gt;<br class="typebreak"/>
&lt;parametername=&quot;success&quot;type=&quot;bool&quot;/&gt;<br class="typebreak"/>
&lt;/event&gt;&lt;/eventSource&gt;<br class="typebreak"/>
&lt;eventSourcename=&quot;Timers&quot;&gt;<br class="typebreak"/>
&lt;timerid=&quot;evTimerLogin&quot;name=&quot;TimerLogin&quot;/&gt;<br class="typebreak"/>
&lt;/eventSource&gt;&lt;/events&gt;<br class="typebreak"/>
&lt;!--States--&gt;&lt;statename=&quot;Root&quot;&gt;<br class="typebreak"/>
&lt;!--transitionvalidforallsubstate--&gt;<br class="typebreak"/>
&lt;transitionevent=&quot;evStop&quot;nextState=&quot;End&quot;/&gt;<br class="typebreak"/>
&lt;!--Initial--&gt;&lt;statename=&quot;Initial&quot;&gt;<br class="typebreak"/>
&lt;transitionevent=&quot;evStart&quot;action=&quot;view.notifyWelcome();&quot;nextState=&quot;Idle&quot;/&gt;<br class="typebreak"/>
&lt;/state&gt;&lt;!--Idle--&gt;&lt;statename=&quot;Idle&quot;&gt;<br class="typebreak"/>
&lt;!--IdleonEntry--&gt;&lt;onEntry&gt;<br class="typebreak"/>
&lt;action&gt; view loginButton&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_login_mvc_8fsmcpp.html#a81da0852ae84b99f86545fae429eccda">setEnabled</a> (true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&lt;/action &gt;&lt; action &gt; view <br class="typebreak"/>
logoutButton&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_login_mvc_8fsmcpp.html#a9cbf34c6cb7d133082e32c9e1d9b499f">setEnabled</a> (false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&lt;/action &gt;&lt; action &gt; loginMvc&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_login_mvc_8fsmcpp.html#a68bcb1199678934ce7e848dc1b8adecb">login</a> ()</td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a68bcb1199678934ce7e848dc1b8adecb"></a><!-- doxytag: member="LoginMvc.fsmcpp::login" ref="a68bcb1199678934ce7e848dc1b8adecb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&lt;/action&gt;&lt;action&gt; loginMvc login </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a81da0852ae84b99f86545fae429eccda"></a><!-- doxytag: member="LoginMvc.fsmcpp::setEnabled" ref="a81da0852ae84b99f86545fae429eccda" args="(true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&lt;/action &gt;&lt; action &gt; view logoutButton setEnabled </td>
          <td>(</td>
          <td class="paramtype">true&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9cbf34c6cb7d133082e32c9e1d9b499f"></a><!-- doxytag: member="LoginMvc.fsmcpp::setEnabled" ref="a9cbf34c6cb7d133082e32c9e1d9b499f" args="(false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">&lt;/action &gt;&lt; action &gt; view cancelButton setEnabled </td>
          <td>(</td>
          <td class="paramtype">false&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div>
﻿<div id="footer">
    <hr />
    <p>
        Copyright &copy; 2011 StateForge.</p>
    <hr />
</div>
</body> </html> 
